/**
 * 
 */
package com.google.code.cisx.client;

import com.google.code.cisx.client.event.TypedEvent;

/**
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * @since 1.0
 * @version $Id: DesktopEvent.java 258 2008-11-29 06:23:51Z rahul.thakur.xdev $
 */
public class DesktopEvent extends TypedEvent {

  public enum DesktopEventType {
    DESKTOP_STATE_CHANGED("Desktop State Changed");

    /**
     * Event type as String.
     */
    private String type;

    /**
     * @param type
     */
    private DesktopEventType(String type) {
      this.type = type;
    }

    @Override
    public String toString() {
      return this.type;
    }
  }

  /**
   * @param source
   */
  public DesktopEvent(Object source) {
    super(source);
    // TODO Auto-generated constructor stub
  }

  /**
   * @param source
   * @param type
   */
  public DesktopEvent(Object source, String type) {
    super(source, type);
    // TODO Auto-generated constructor stub
  }

}
